package cn.cdutetc.foxwatch.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * @author 王勇
 * @ClassName： UserPojo
 * @ClassPath： cn.cdutetc.foxwatch.pojo.UserPojo
 * @Description：
 * @date 2024/10/8 20:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user")
public class UserPojo {
    //id自增
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String userName;
    private String password;
    private String role;
    private LocalDate createTime;
    private LocalDate updateTime;
}
